package cn.edu.nbpt.campus_api.service.blog;

import cn.edu.nbpt.campus_api.model.Page;
import cn.edu.nbpt.campus_api.model.blog.entity.Category;

import java.util.List;

public interface CategoryService {
    Page<Category> selectCategoryList(String name, Integer pageNum, Integer pageSize);

    Category selectCategory(Integer id);

    Integer insertCategory(Category category);

    Integer updateCategory(Category category);

    Integer deleteCategory(List<Integer> ids);
}
